package com.xiyu.service.convert.setting;

import com.xiyu.service.vo.setting.businessField.BusinessFieldGetByModuleOutput;
import com.xiyu.service.vo.setting.businessField.BusinessFieldUpdateInput;
import com.xiyu.service.vo.setting.businessField.BusinessFieldSingleGetOutput;
import com.xiyu.service.vo.setting.businessField.BusinessFieldGetOptionByFieldIdOutput;
import com.xiyu.service.model.setting.business.SettingBusinessFieldOption;
import com.xiyu.service.vo.setting.businessField.BusinessFieldListQueryOutput;
import com.xiyu.service.model.setting.business.SettingBusinessField;
import java.util.*;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
//import com.xiyu.service.vo.setting.businessField.*;

/**
 * 业务字段 Convert
 */
@Mapper
public interface BusinessFieldConvert {
    BusinessFieldConvert INSTANCE = Mappers.getMapper(BusinessFieldConvert.class);


    List<BusinessFieldListQueryOutput> listQueryOutputConvert(List<SettingBusinessField> output);

    List<BusinessFieldGetOptionByFieldIdOutput> getOptionByFieldIdOutputConvert(List<SettingBusinessFieldOption> output);

    BusinessFieldSingleGetOutput singleGetOutputConvert(SettingBusinessField output);

    SettingBusinessField updateInputConvert(BusinessFieldUpdateInput input);

    SettingBusinessFieldOption updateInputConvert(BusinessFieldUpdateInput.option input);

    List<BusinessFieldGetByModuleOutput> getByModuleOutputConvert(List<SettingBusinessField> output);

}
